/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.Arrays;

/**
 * <p>Project: javase202202 - Arrs2
 * <p>Powered by Lisi On 2022-06-06 17:28:34
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class Arrs2 {
    public static void main(String[] args) {


        int[] n = new int[6];
        System.out.println(n[1]);
        //Arrays.fill(n,5);
        //Arrays.fill(n,5,0,3);
        Arrays.fill(n, 1, 3, 5);
        System.out.println(n[0]);
        System.out.println(Arrays.toString(n));

        Arrays.sort(n);
        System.out.println(Arrays.toString(n));
        int ii = Arrays.binarySearch(n,600);
        System.out.println(ii);

        System.out.println("-----------------");
        int[][][] deepArray = new int[][][]{{{1, 3},{2, 4}}};
        System.out.println(Arrays.toString(deepArray)); //[[I@1540e19d, [I@677327b6]
        System.out.println(Arrays.deepToString(deepArray)); //[[1, 3], [2, 4]]

    }
}
